package com.ruoyi.web.controller.tool;

import com.ruoyi.web.controller.teaching.WebSocket.LessonWebSocket;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

/**
 * @author William
 */
@Api("用户信息管理")
@RestController
@RequestMapping("/test/websocket")
public class TestClassWebSocketController {

    @RequestMapping("/send")
    public void SendMsg() throws IOException {
        LessonWebSocket.sendInfo("9999");
    }

}
